Hi Noah,
The mention of posting incident priority in the Knowledge Base article actually refers to using the REST API. You can use the Create an Incident endpoint and include a priority ID along with the payload. You’d want to first Get those priority IDs by using the list priorities endpoint.
List priorities REST API endpoint:
https://v2.developer.pagerduty.com/v2/page/api-reference#!/Priorities/get_priorities
Create an incident REST API endpoint:
https://v2.developer.pagerduty.com/v2/page/api-reference#!/Incidents/post_incidents
In regard to the v2 Events API, it’s not possible to directly insert a Priority into a payload however you can insert a Severity (Info, Warning, Error, or Critical) which you can then use Event Rules to map to an incident’s urgency if that interests you.
If you’d like to get the incidents triggered through the Events API to have a priority though, you would have to take an additional step of updating that in either the Web UI or through the REST API.
We’ve submitted a feature request on your behalf for the events API to support priorities. Please let us know if you have any further questions!
Sincerely,
Malcolm